package com.leyou.item.services;

import com.leyou.item.pojo.SpecGroup;
import com.leyou.item.pojo.SpecParam;

import java.util.List;

/**
 * @Date 2018/12/15  16:48
 * @Author JIE
 */
public interface SpecificationService {
    List<SpecGroup>  queryGroupByCid(Long cid);

    void saveSpecGroup(Long cid, String name);

    void updateSpecGroup(SpecGroup group);

    void deleteSpecGroupById(Long id);

    List<SpecParam> queryParamList(Long aLong, Long gid, Boolean searching);

    void saveSpecParam(SpecParam specParam);

    void updateSpecParam(SpecParam specParam);

    void deleteSpecParamById(Long id);

    List<SpecGroup> queryListByCid(Long cid);
}
